<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>重置密码</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="css/style.css" />

<link rel="stylesheet" type="text/css" href="css/boxed.css" id="layout" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-1.8.2.js"></script>
<style type="text/css">
.inputindex {
	display: inline-block;
	color: #8f8f8f;
	font-size: 12px;
	font-family: Arial, sans-serif;
	padding: 6px 10px;
	border-width: 1px;
	border-style: solid;
	border-color: #d8d8d8;
	background-color: #f3f3f3;
	line-height: 1em;
	width: 300px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	font-size: 30px;
	font-family: Georgia, "Times New Roman", Times, serif;
}

.inputButton {
	width: 100px;
	height: 40px;
	background: #00FF00;
	border: 1px solid #666666;
}
</style>

</head>
<script type="text/javascript">
	$(document).ready(function() {
		$("#submit").click(function() {
			var newP = $("#newP").val();
			if (newP == '') {
				alert('请填写新密码');
				return false;
			} else {
				if (newP.length < 6) {
					alert('密码长度不能小于6');
					return false;
				}
				return true;
			}

		});
	});
</script>
<body>
	<center>
		<form action="chong_chongP" method="post">
			<div id="wrapper">
				<jsp:include page="top.jsp"></jsp:include>
				<STRONG><h1>${requestScope.msg}</h1> </STRONG>
				<center>
					<table width="100%" border="0">
						<tr>
							<td><div align="right">新密码：</div></td>
							<td><div align="left">
									<input type="text" name="newP" id="newP" value=""
										class="inputindex" />
								</div></td>
						</tr>
						<tr>
							<td></td>
						</tr>
					</table>
					<center>
						<input type="submit" id="submit" value="登陆" class="inputButton">
					</center>
				</center>
			</div>
			<jsp:include page="foot.jsp"></jsp:include>
		</form>
	</center>
</body>
</html>
